home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Resource Fork
(archive/rsrc).
You can browse this item here: suites.utils.iconstealer.rsrc
id metadata |
---|
key | value |
---|
macFileType | [rsrc] |
macFileCreator | [RSED] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 08 fa 72 73 72 63 52 53 | 45 44 00 00 00 00 00 00 |..rsrcRS|ED......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 08 9b 00 00 07 9b 00 00 |........|........|
|00000060| 00 5f 81 16 56 3b 80 35 | 56 72 80 a3 56 2e 80 7a |._..V;.5|Vr..V..z|
|00000070| 56 6f 81 47 56 69 80 24 | 56 2d 80 51 56 65 81 47 |Vo.GVi.$|V-.QVe.G|
|00000080| 56 2c 18 73 75 69 74 65 | 73 2e 75 74 69 6c 73 2e |V,.suite|s.utils.|
|00000090| 69 63 6f 6e 73 74 65 61 | 6c 65 72 6c 02 00 00 00 |iconstea|lerl....|
|000000a0| 50 61 00 00 50 61 72 74 | 53 49 54 78 00 00 00 00 |Pa..Part|SITx....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 a9 81 46 11 | 00 00 00 00 00 00 08 fa |......F.|........|
|000000d0| 59 71 81 99 59 2e 80 20 | 59 70 80 f5 59 6f 81 99 |Yq..Y.. |Yp..Yo..|
|000000e0| 59 69 80 14 59 2d 80 f5 | 59 65 81 99 59 2c 80 51 |Yi..Y-..|Ye..Y,.Q|
|000000f0| 59 3a 80 20 59 61 81 99 | 59 41 82 35 66 66 00 9b |Y:. Ya..|YA.5ff..|
|00000100| 72 71 80 49 72 2e 00 24 | 72 6f 80 66 72 6e 00 3d |rq.Ir..$|ro.frn.=|
|00000110| 72 6d 00 3d 72 2d 80 28 | 72 68 00 00 72 67 80 20 |rm.=r-.(|rh..rg. |
|00000120| 72 66 00 9b 72 65 80 20 | 72 64 80 20 72 2c 00 24 |rf..re. |rd. r,.$|
|00000130| 72 63 80 6e 00 00 01 00 | 00 00 1c e2 00 00 1b e2 |rc.n....|........|
|00000140| 00 00 00 66 00 76 06 90 | 09 30 00 00 00 1c 00 5a |...f.v..|.0.....Z|
|00000150| 00 02 00 00 00 05 31 2e | 30 62 32 00 00 07 8e 73 |......1.|0b2....s|
|00000160| 63 70 74 00 01 04 3b 00 | 02 00 00 00 f6 00 00 06 |cpt...;.|........|
|00000170| 18 00 01 02 00 00 0f 06 | 47 65 6e 65 76 61 00 00 |........|Geneva..|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 09 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 07 80 00 | 00 a4 b5 d4 33 a4 b5 d7 |........|....3...|
|000001b0| 78 00 00 00 07 00 00 00 | 55 00 30 01 a8 02 29 00 |x.......|U.0...).|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 6f |........|.......o|
|000001e0| 6e 20 69 63 6f 6e 73 74 | 65 61 6c 65 72 20 28 66 |n iconst|ealer (f|
|000001f0| 6f 6c 64 65 72 2c 20 6f | 75 74 70 75 74 66 69 6c |older, o|utputfil|
|00000200| 65 29 20 c7 67 61 74 68 | 65 72 20 61 6c 6c 20 69 |e) .gath|er all i|
|00000210| 63 6f 6e 20 72 65 73 6f | 75 72 63 65 73 20 69 6e |con reso|urces in|
|00000220| 20 66 6f 6c 64 65 72 20 | 69 6e 74 6f 20 6f 75 74 | folder |into out|
|00000230| 70 75 74 66 69 6c 65 0d | 09 67 61 74 68 65 72 73 |putfile.|.gathers|
|00000240| 20 61 6c 6c 20 74 68 65 | 20 69 63 6f 6e 73 20 69 | all the| icons i|
|00000250| 6e 74 6f 20 61 20 66 69 | 6c 65 20 74 68 61 74 20 |nto a fi|le that |
|00000260| 79 6f 75 20 63 61 6e 20 | 65 64 69 74 20 77 69 74 |you can |edit wit|
|00000270| 68 20 52 65 73 45 64 69 | 74 0d 09 09 69 66 20 74 |h ResEdi|t...if t|
|00000280| 68 65 20 6f 75 74 70 75 | 74 20 66 69 6c 65 20 64 |he outpu|t file d|
|00000290| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 2c 20 77 65 |oesn't e|xist, we|
|000002a0| 20 63 72 65 61 74 65 20 | 69 74 20 73 6f 20 69 74 | create |it so it|
|000002b0| 20 63 61 6e 20 62 65 20 | 6f 70 65 6e 65 64 20 77 | can be |opened w|
|000002c0| 69 74 68 20 52 65 73 45 | 64 69 74 0d 09 09 74 68 |ith ResE|dit...th|
|000002d0| 65 6e 20 77 65 20 74 72 | 61 76 65 6c 20 74 68 72 |en we tr|avel thr|
|000002e0| 6f 75 67 68 20 61 6c 6c | 20 74 68 65 20 66 69 6c |ough all| the fil|
|000002f0| 65 73 20 69 6e 20 74 68 | 65 20 66 6f 6c 64 65 72 |es in th|e folder|
|00000300| 2c 20 61 74 20 61 6c 6c | 20 6c 65 76 65 6c 73 0d |, at all| levels.|
|00000310| 09 09 63 6f 70 79 69 6e | 67 20 61 6c 6c 20 74 68 |..copyin|g all th|
|00000320| 65 20 49 43 4f 4e 20 72 | 65 73 6f 75 72 63 65 73 |e ICON r|esources|
|00000330| 20 69 6e 74 6f 20 74 68 | 65 20 6f 75 74 70 75 74 | into th|e output|
|00000340| 20 66 69 6c 65 0d 09 0d | 09 6c 6f 63 61 6c 20 28 | file...|.local (|
|00000350| 63 74 69 63 6f 6e 73 20 | 3d 20 30 29 20 c7 74 68 |cticons |= 0) .th|
|00000360| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 69 63 6f 6e |e number| of icon|
|00000370| 73 20 77 65 27 76 65 20 | 73 74 6f 6c 65 6e 20 73 |s we've |stolen s|
|00000380| 6f 20 66 61 72 0d 09 6f | 6e 20 74 68 69 65 76 65 |o far..o|n thieve|
|00000390| 72 79 20 28 66 6f 6c 64 | 65 72 29 20 c7 72 65 63 |ry (fold|er) .rec|
|000003a0| 75 72 73 69 76 65 6c 79 | 20 74 72 61 76 65 72 73 |ursively| travers|
|000003b0| 65 20 74 68 65 20 66 6f | 6c 64 65 72 2c 20 6c 6f |e the fo|lder, lo|
|000003c0| 6f 6b 69 6e 20 66 6f 72 | 20 74 72 6f 75 62 6c 65 |okin for| trouble|
|000003d0| 21 0d 09 09 6c 6f 63 61 | 6c 20 28 66 6e 61 6d 65 |!...loca|l (fname|
|000003e0| 29 0d 09 09 66 69 6c 65 | 6c 6f 6f 70 20 28 66 6e |)...file|loop (fn|
|000003f0| 61 6d 65 20 69 6e 20 66 | 6f 6c 64 65 72 29 0d 09 |ame in f|older)..|
|00000400| 09 09 72 6f 6c 6c 62 65 | 61 63 68 62 61 6c 6c 20 |..rollbe|achball |
|00000410| 28 29 0d 09 09 09 69 66 | 20 66 69 6c 65 2e 69 73 |()....if| file.is|
|00000420| 66 6f 6c 64 65 72 20 28 | 66 6e 61 6d 65 29 0d 09 |folder (|fname)..|
|00000430| 09 09 09 69 66 20 21 74 | 68 69 65 76 65 72 79 20 |...if !t|hievery |
|00000440| 28 66 6e 61 6d 65 29 0d | 09 09 09 09 09 72 65 74 |(fname).|.....ret|
|00000450| 75 72 6e 20 28 66 61 6c | 73 65 29 0d 09 09 09 65 |urn (fal|se)....e|
|00000460| 6c 73 65 0d 09 09 09 09 | 69 66 20 21 66 69 6c 65 |lse.....|if !file|
|00000470| 2e 69 73 62 75 73 79 20 | 28 66 6e 61 6d 65 29 20 |.isbusy |(fname) |
|00000480| c7 63 61 6e 27 74 20 67 | 65 74 20 69 6e 73 69 64 |.can't g|et insid|
|00000490| 65 20 6f 66 20 62 75 73 | 79 20 66 69 6c 65 73 0d |e of bus|y files.|
|000004a0| 09 09 09 09 09 6c 6f 63 | 61 6c 20 28 72 65 73 74 |.....loc|al (rest|
|000004b0| 79 70 65 20 3d 20 27 49 | 43 4f 4e 27 29 0d 09 09 |ype = 'I|CON')...|
|000004c0| 09 09 09 6c 6f 63 61 6c | 20 28 63 74 20 3d 20 66 |...local| (ct = f|
|000004d0| 69 6c 65 2e 63 6f 75 6e | 74 72 65 73 6f 75 72 63 |ile.coun|tresourc|
|000004e0| 65 73 20 28 66 6e 61 6d | 65 2c 20 72 65 73 74 79 |es (fnam|e, resty|
|000004f0| 70 65 29 29 0d 09 09 09 | 09 09 69 66 20 63 74 20 |pe))....|..if ct |
|00000500| 3e 20 30 0d 09 09 09 09 | 09 09 6c 6f 63 61 6c 20 |> 0.....|..local |
|00000510| 28 73 65 72 69 61 6c 6e | 75 6d 62 65 72 20 3d 20 |(serialn|umber = |
|00000520| 31 29 0d 09 09 09 09 09 | 09 6c 6f 63 61 6c 20 28 |1)......|.local (|
|00000530| 6e 2c 20 6e 61 6d 65 29 | 0d 09 09 09 09 09 09 6c |n, name)|.......l|
|00000540| 6f 6f 70 20 28 6e 20 3d | 20 31 3b 20 6e 20 3c 3d |oop (n =| 1; n <=|
|00000550| 20 63 74 3b 20 6e 2b 2b | 29 0d 09 09 09 09 09 09 | ct; n++|).......|
|00000560| 09 72 6f 6c 6c 62 65 61 | 63 68 62 61 6c 6c 20 28 |.rollbea|chball (|
|00000570| 29 0d 09 09 09 09 09 09 | 09 69 66 20 66 69 6c 65 |).......|.if file|
|00000580| 2e 67 65 74 6e 74 68 72 | 65 73 6f 75 72 63 65 20 |.getnthr|esource |
|00000590| 28 66 6e 61 6d 65 2c 20 | 72 65 73 74 79 70 65 2c |(fname, |restype,|
|000005a0| 20 6e 2c 20 40 6e 61 6d | 65 2c 20 40 69 63 6f 6e | n, @nam|e, @icon|
|000005b0| 29 0d 09 09 09 09 09 09 | 09 09 69 66 20 6e 61 6d |).......|..if nam|
|000005c0| 65 20 3d 3d 20 22 22 0d | 09 09 09 09 09 09 09 09 |e == "".|........|
|000005d0| 09 6e 61 6d 65 20 3d 20 | 66 69 6c 65 2e 66 69 6c |.name = |file.fil|
|000005e0| 65 66 72 6f 6d 70 61 74 | 68 20 28 66 6e 61 6d 65 |efrompat|h (fname|
|000005f0| 29 20 2b 20 22 2e 22 20 | 20 2b 20 73 65 72 69 61 |) + "." | + seria|
|00000600| 6c 6e 75 6d 62 65 72 2b | 2b 0d 09 09 09 09 09 09 |lnumber+|+.......|
|00000610| 09 09 66 69 6c 65 2e 70 | 75 74 6e 61 6d 65 64 72 |..file.p|utnamedr|
|00000620| 65 73 6f 75 72 63 65 20 | 28 6f 75 74 70 75 74 66 |esource |(outputf|
|00000630| 69 6c 65 2c 20 72 65 73 | 74 79 70 65 2c 20 6e 61 |ile, res|type, na|
|00000640| 6d 65 2c 20 40 69 63 6f | 6e 29 0d 09 09 09 09 09 |me, @ico|n)......|
|00000650| 09 09 09 63 74 69 63 6f | 6e 73 2b 2b 0d 09 09 09 |...ctico|ns++....|
|00000660| 69 66 20 63 74 69 63 6f | 6e 73 20 3e 20 30 0d 09 |if ctico|ns > 0..|
|00000670| 09 09 09 6d 73 67 20 28 | 63 74 69 63 6f 6e 73 20 |...msg (|cticons |
|00000680| 2b 20 22 20 69 63 6f 6e | 73 20 63 6f 70 69 65 64 |+ " icon|s copied|
|00000690| 2e 22 29 0d 09 09 72 65 | 74 75 72 6e 20 28 74 72 |.")...re|turn (tr|
|000006a0| 75 65 29 0d 09 0d 09 69 | 66 20 21 66 69 6c 65 2e |ue)....i|f !file.|
|000006b0| 65 78 69 73 74 73 20 28 | 6f 75 74 70 75 74 66 69 |exists (|outputfi|
|000006c0| 6c 65 29 20 c7 63 72 65 | 61 74 65 20 74 68 65 20 |le) .cre|ate the |
|000006d0| 66 69 6c 65 20 73 69 6e | 63 65 20 69 74 20 64 6f |file sin|ce it do|
|000006e0| 65 73 6e 27 74 20 65 78 | 69 73 74 0d 09 09 66 69 |esn't ex|ist...fi|
|000006f0| 6c 65 2e 6e 65 77 20 28 | 6f 75 74 70 75 74 66 69 |le.new (|outputfi|
|00000700| 6c 65 29 0d 09 09 66 69 | 6c 65 2e 73 65 74 74 79 |le)...fi|le.setty|
|00000710| 70 65 20 28 6f 75 74 70 | 75 74 66 69 6c 65 2c 20 |pe (outp|utfile, |
|00000720| 27 72 73 72 63 27 29 0d | 09 09 66 69 6c 65 2e 73 |'rsrc').|..file.s|
|00000730| 65 74 63 72 65 61 74 6f | 72 20 28 6f 75 74 70 75 |etcreato|r (outpu|
|00000740| 74 66 69 6c 65 2c 20 27 | 52 53 45 44 27 29 0d 09 |tfile, '|RSED')..|
|00000750| 0d 09 72 65 74 75 72 6e | 20 28 74 68 69 65 76 65 |..return| (thieve|
|00000760| 72 79 20 28 66 6f 6c 64 | 65 72 29 29 0d 0d 65 78 |ry (fold|er))..ex|
|00000770| 61 6d 70 6c 65 20 63 61 | 6c 6c 20 2d 2d 20 67 61 |ample ca|ll -- ga|
|00000780| 74 68 65 72 20 61 6c 6c | 20 69 63 6f 6e 73 20 69 |ther all| icons i|
|00000790| 6e 20 74 68 65 20 53 79 | 73 74 65 6d 20 46 6f 6c |n the Sy|stem Fol|
|000007a0| 64 65 72 20 69 6e 74 6f | 20 53 79 73 74 65 6d 3a |der into| System:|
|000007b0| 49 63 6f 6e 73 20 66 69 | 6c 65 0d 75 74 69 6c 73 |Icons fi|le.utils|
|000007c0| 2e 69 63 6f 6e 73 74 65 | 61 6c 65 72 20 28 22 53 |.iconste|aler ("S|
|000007d0| 79 73 74 65 6d 3a 53 79 | 73 74 65 6d 20 46 6f 6c |ystem:Sy|stem Fol|
|000007e0| 64 65 72 3a 22 2c 20 22 | 53 79 73 74 65 6d 3a 49 |der:", "|System:I|
|000007f0| 63 6f 6e 73 22 29 0d 80 | 00 00 00 00 00 84 00 00 |cons")..|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00000820| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 80 |........|........|
|000008d0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000008e0| 00 84 00 00 00 00 00 80 | 00 00 00 00 00 00 00 01 |........|........|
|000008f0| 00 00 00 08 9b 00 00 07 | 9b 00 00 00 5f 00 3c c1 |........|...._.<.|
|00000900| 90 0b 06 00 00 00 1c 00 | 46 00 01 53 54 52 20 00 |........|F..STR .|
|00000910| 00 00 12 64 61 74 61 00 | 00 00 1e 00 80 ff ff 00 |...data.|........|
|00000920| 00 00 00 00 00 00 00 0d | 7b 00 00 00 00 00 09 00 |........|{.......|
|00000930| 3c 1e 80 18 73 75 69 74 | 65 73 2e 75 74 69 6c 73 |<...suit|es.utils|
|00000940| 2e 69 63 6f 6e 73 74 65 | 61 6c 65 72 |.iconste|aler |
+--------+-------------------------+-------------------------+--------+--------+